package com.ruoyi.follow.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关注对象 tb_follow
 * 
 * @author 劳雅玲
 * @date 2024-03-01
 */
public class TbFollow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 被关注用户id */
    @Excel(name = "被关注用户id")
    private Long userId;

    /** 我的id */
    @Excel(name = "我的id")
    private Long myUserId;


    private String userName;

    private String avatar;
    private String nickName;

    public Long getIsFollowing() {
        return isFollowing;
    }

    public void setIsFollowing(Long isFollowing) {
        this.isFollowing = isFollowing;
    }

    private Long isFollowing;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMyUserId(Long myUserId) 
    {
        this.myUserId = myUserId;
    }

    public Long getMyUserId() 
    {
        return myUserId;
    }

    @Override
    public String toString() {
        return "TbFollow{" +
                "id=" + id +
                ", userId=" + userId +
                ", myUserId=" + myUserId +
                ", userName='" + userName + '\'' +
                ", avatar='" + avatar + '\'' +
                ", nickName='" + nickName + '\'' +
                ", isFollowing=" + isFollowing +
                '}';
    }
}
